﻿namespace Nello.Data
{
    using Nello;
    using System;
    using System.Data;

    public interface ILinker : IConnectionInfo
    {
        void Close();
        void Commit();
        DataRow ExecuteDataRow(string sql);
        DataSet ExecuteDataSet(string sql);
        DataTable ExecuteDataTable(string sql);
        int ExecuteNonQuery(string sql);
        object ExecuteScalar(string sql);
        void Open();
        void Rollback();

        System.Data.CommandType CommandType { get; set; }
    }
}

